<?php 
require_once(dirname(__FILE__).'/MySQLDomain.php');
class CountriesDomain extends MySQLDomain {

	public static $CollectionName="countries";

	public function __construct($data) {
		parent::__construct($data, CountriesDomain::$CollectionName, "shortCode");
	}

	public function getShortCode() {
		return $this->getField("shortCode");
	}
	public function setShortCode($shortCode) {
		$this->setField("shortCode", $shortCode);
	}

	public function getLongCode() {
		return $this->getField("longCode");
	}
	public function setLongCode($longCode) {
		$this->setField("longCode", $longCode);
	}

	public function getName() {
		return $this->getField("name");
	}
	public function setName($name) {
		$this->setField("name", $name);
	}

	public function getDialing_code() {
		return $this->getField("dialing_code");
	}
	public function setDialing_code($dialing_code) {
		$this->setField("dialing_code", $dialing_code);
	}

}
?>